<?php
if (!defined('INDEX')) exit;
require("common/functions_jcas_modules.php");
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td class="datatd" bgcolor="#FFFFFF"></td>
  </tr>
</table>
	<br />
<?php
// Send message
echo support_send_message();

if($show_content)
{
echo js_validate("name,email,subject,message","frm_support");
?>

	<table width="100%"  border="0" cellspacing="0" cellpadding="0" >
		<form name="frm_support" method="post" action="<?php echo $index_url?>" onSubmit="return validate_frm_support();">
		  <tr>
			 <td colspan="2" class="headtd"></td>
		  </tr>
		  <tr>
			 <td width="25%" class="row1td"><b><?php echo $lang['your_name']?> *</b></td>
		  <td width="75%" class="row2td"><input name="name" type="text" size="50" value="<?php echo @$_POST["name"]?>"></td>
		  </tr>
		  <tr>
			 <td width="25%" class="row1td"><b><?php echo $lang['your_email']?> *</b></td>
		  <td width="75%" class="row2td"><input name="email" type="text" size="50"  value="<?php echo @$_POST["email"]?>"></td>
		  </tr>
		  <tr>
			 <td width="25%" class="row1td"><b><?php echo $lang['subject']?> *</b></td>
		  <td width="75%" class="row2td"><input name="subject" type="text" size="2" style="width:500px" value="<?php echo @$_POST["subject"]?>"></td>
		  </tr>
		  <tr>
			 <td valign="top" class="row1td"><b><?php echo $lang['message']?> *</b></td>
			 <td class="row2td"><textarea name="message" cols="500" style="width:500px" rows="10"><?php echo @$_POST["message"]?></textarea></td>
		  </tr>
		  <tr>
			 <td colspan="2" align="center" class="row2td">
				<input type="submit" name="send" class="button" value="<?php echo $lang['send_email']?>">
			 </td>
		  </tr>
		</form>
		</table>
		<?php
}// end show_content
$_GET["p"] = false;
?>